import { defineStore } from "pinia";

const startDate = new Date()
const endDate = new Date().setDate(startDate.getDate() + 1)

const useMainStore = defineStore("main", {
    state: () => ({
        token: "",

        startDate: startDate,
        endDate: endDate,

        // loading的展示
        isLoading: false
    })
})

export default useMainStore